package com.geetour.columbus.region.dao;

import java.util.List;

import com.geetour.columbus.common.exceptions.DAOException;
import com.geetour.columbus.common.model.R.AreaPage;

public interface IAreaPageDAO {

    public void insertAreaPage(AreaPage area) throws DAOException;

    public int insertAreaPageBatch(List<AreaPage> areaList) throws DAOException;

    public int updateAreaPageById(AreaPage area) throws DAOException;
    
    public int updateAreaPage(AreaPage area) throws DAOException;

    public int deleteAreaPageById(Long id) throws DAOException;

    public AreaPage findAreaPageById(Long id) throws DAOException;

    public List<AreaPage> findAllAreaPages() throws DAOException;

    public List<AreaPage> findAreaPages(AreaPage area) throws DAOException;

}
